package week5;

public class Linkedtest {
    public static void main(String[] args) {
        Integer[] name = new Integer[7];
        name[0] = 20172305;
        name[1] = 20172301;
        name[2] = 20172328;
        name[3]=20172304;
        name[4]=20172310;
        name[5]=20172308;
        name[6]=20172327;
         String[]name1;
        name1=new String[]{"苹果","香蕉","橘子","西瓜","石榴","香瓜"};

        Sorting1.bubbleSort(name);
        for (int friend : name) {
            System.out.println(friend);
        }
        Sorting1.bubbleSort(name1);
        for(String friend:name1){
            System.out.println(friend);
        }
    }
}